﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<META name="keywords" content="Java,J2EE,Jsp,EasyJ,AspectJ,AOP,SOA,Java EE,构件,中间件,Tomcat,JBoss,Spring,Hibernate,Struts,EasyJWeb,JDO,EJB,UML">
<META name="description" content="Easyjf.com(简易java框架),包括当今最流行的Java框架(Spring,Hibernate,Struts,EasyJWeb,EasyJFramework,EJB,JDO,Velocity)介绍、参考资料、教程、源码等，提供简单实用的j2ee开发工具及构件产品，让j2ee程序开发变得更加轻松、简单!" >
<title>简易java框架开源论坛(EasyJWeb演示程序)-栏目列表</title>
<link href="/include/css/css.css" rel="stylesheet" type="text/css">
<script>

function doEdit()
{
var id=ListForm.cid.value;
if(id=="")
{
alert("请选择要编辑的数据！");
return false;
}
ListForm.parameter.value="edit";
ListForm.submit();
}
function doShow()
{
var id=ListForm.cid.value;
if(id=="")
{
alert("请选择要编辑的数据！");
return false;
}
window.open("/showUser.do?cid="+id,"","")
}
function doDel()
{
if(ListForm.cid.value!="")
{
if(confirm("删除后数据不能恢复，确认要删除吗？")){
ListForm.parameter.value="del";
ListForm.submit();
}
}
}
function doAdd()
{
ListForm.parameter.value="new";
ListForm.cid.value="";
ListForm.submit();
}
function selectRow(id)
{
ListForm.cid.value=id;
}
</script>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<TABLE width="98%" border=0 align="center" cellPadding=0 cellSpacing=0>
  <TBODY>
    <TR>
      <TD align=center><TABLE height=28 cellSpacing=0 cellPadding=0 width=100% align=center 
      border=0>
          <TBODY>
            <TR align="center" bgcolor="#006699">
              <TD width="764" height="28"><a href="/index.htm" target="_top"><font color="#FFFFFF">首页</font></a>　｜　<a href="/announce.htm" target="_top"><font color="#FFFFFF">公告</font></a>　｜　<a href="/docs.htm" target="_top"><font color="#FFFFFF">参考资料</font></a>　 ｜　<a href="/tutorial.htm" target="_top"><font color="#FFFFFF">教程</font></a>　｜　<a href="/framework.htm" target="_top"><font color="#FFFFFF">框架/设计</font></a>　｜　<a href="/download.htm" target="_top"><font color="#FFFFFF">源码/下载</font></a>　｜　<a href="/component.htm" target="_top"><font color="#FFFFFF">构件产品</font></a>　｜　<a href="/myrss/" target="_top"><font color="#FFFFFF">MyRSS</font></a>　</TD>
            </TR>
          </TBODY>
      </TABLE></TD>
    </TR>
  </TBODY>
</TABLE>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="3" class="cn_12px">
<form id="ListForm" name="ListForm"  method="post" action="/bbsdir.do">		
	   <input type="hidden" name="parameter" value="">	     
	   <input type="hidden" name="subCommand" value="">
	   <input type="hidden" name="cid"   value="$!cid">
	   <input type="hidden" name="parentsn"   value="$!parentsn">
  <tr>
      <td width="80%" height="23">BBS栏目管理</td>
      <td><input type="button" name="Submit" value="添加新栏目" onClick="doAdd()"></td>
      <td>&nbsp;</td>
  </tr>
  </form>
</table>
<table width="98%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="C4E0FC">
  <tr bgcolor="84B6E7" class="news_text"> 
    <td width="5%" height="27" bgcolor="84B6E7"> <div align="center" class="cn_12px"><strong><font color="#FFFFFF">编号</font></strong></div></td>
    <td width="13%"><div align="center" class="cn_12px"><strong><font color="#FFFFFF">栏目名称</font></strong></div></td>
    <td width="45%" bgcolor="84B6E7"> <div align="center" class="cn_12px"><strong><font color="#FFFFFF">简介</font></strong></div></td>
    <td> <div align="center" class="cn_12px"><strong><font color="#FFFFFF">添加时间</font></strong></div>      <div align="center" class="cn_12px"></div> </td>
  <td>&nbsp;</td>
  </tr>

   #foreach( $info in $list) 
  <tr id="$!info.cid" onMouseOver="this.className='MouseOver';" onMouseOut="this.className='MouseOut'" onDblClick="selectRow(this.id);doEdit();" onClick="selectRow(this.id);"> 
    <td width="5%" height="27">
       <div align="center">$!info.sn</div></td>
    <td width="13%" ><div align="center">$!info.title</div></td>
    <td width="45%" > 
      　$!info.intro</td>
    <td >$!info.inputtime </td>
  <td align="center" bgcolor="F6FCFD"><a href="#" onClick="selectRow('$!info.cid');doEdit();">编辑</a>　<a href="#" onClick="selectRow('$!info.cid');doDel();">删除</a>　<a href="/bbsdir.do?parameter=list&&parentsn=$!info.sn" >管理下级</a></td>
  </tr>
  #end
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="cn_12px">
  <tr>
    <td>&nbsp;</td>
    <td><div align="right"></div></td>
  </tr>
</table>
<br>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="f12">
  <tr> 
    <td> <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height="2" bgcolor="6781BA"> </td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height="25" bgcolor="#1f80cb"><div align="center"><a href="/aboutus.htm" target="_top"><FONT color=#ffffff>Aboutus</font></a> | <a href="/linkus.htm" target="_top"><FONT color=#ffffff>联系我们</font></a> | <FONT color=#ffffff>程序开发</font> | <FONT color=#ffffff>网站地图</font> | <FONT color=#ffffff><a href="/guestbook.htm" target="_top"><FONT color=#ffffff>留言板</font></a></font></div></td>
        </tr>
      </table>
    </td>
  </tr>
</table>


</body>
</html>

